package com.ajieee.merge.entity.finance.dto;

import com.ajieee.merge.entity.finance.po.EtlManagerPO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.BeanUtils;

/**
 * @author ajieee
 * @date 2025-10-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class EtlManagerRespDTO extends EtlManagerPO {

	private String etlTypeName;

	public EtlManagerRespDTO(EtlManagerPO src) {
		BeanUtils.copyProperties(src, this);
		this.etlTypeName = src.getEtlType().getName();
	}

}
